package com.example.mybatisannotation.service;

import com.example.mybatisannotation.entity.Student;

import java.util.List;

public interface StuService {
    int create(Student student);
    List<Student> getByName(String name);
    Student getByID(String id);
    int deleteById(String id);
    List<Student> getAllStudents();
    int updateStu(Student stu);
}
